Promise.resolve() //fulfilled(执行)
  .then(() => {
    console.log(0); //pending(待定)
    return Promise.resolve(4);
  })
  .then((res) => {
    console.log("名字")//pending(待定)
    console.log(res);
  });

Promise.resolve() //fulfilled
  .then(() => {
    console.log(1);//pending(待定)
  })
  .then(() => {
    console.log(2);//pending(待定)
  })
  .then(() => {
    console.log(3);//pending(待定)
  })
  .then(() => {
    console.log(5);//pending(待定)
  })
  .then(() => {
    console.log(6);//pending(待定)
  });
